package com.example.service;

import com.example.entity.ComponentTemplate;

import java.util.List;

public interface ComponentTemplateInstService {
    int create(ComponentTemplate componentTemplate);
    int update(ComponentTemplate componentTemplate);
    int delete(Long id);
    ComponentTemplate getById(Long id);
    List<ComponentTemplate> getByPageTemplateId(Long pageTemplateId);
    List<ComponentTemplate> getAll();
}

